/* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 4 -*- */
/* vi: set expandtab shiftwidth=4 tabstop=4: */

// "inline" the code
#include "lookup3.c"

class BobJenkins_lookup3 {
public:
    const char* name() const
    {
        return "BobJenkins_loopup3";
    }

    uint32_t hash32(uint32_t a) const
    {
        return lookup3_hashword(&a, 1, 1);
    }

    uint32_t hashStr(const char* data, size_t len) const
    {
#ifdef HASH_LITTLE_ENDIAN
        return lookup3_hashlittle((const void*)data, len, 1);
#else
        return lookup3_hashbig((const void*)data, len, 1);
#endif
    }
};
